home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Plug-In Power Pack for Netscape Communicator
/
Plug-In Power Pack for Netscape Communicator.iso
/
plugins
/
dataviews
/
dvdraw
/
examples
/
datasource
/
varselectdlg.h
< prev
Wrap
C/C++ Source or Header
|
1997-05-12
|
1KB
|
60 lines
// VarSelectDlg.h : header file
//
#include "resource.h"
#include "ExampleDsDll.h"
#include "GenericListCtrl.h"
typedef struct tagDATATYPETABLE {
char *name; // String value
int type; // Constant value
} DataTypeEntry;
/////////////////////////////////////////////////////////////////////////////
// CVarSelectDlg dialog
class CVarSelectDlg : public CDialog
{
// Construction
public:
CVarSelectDlg(VARDEFDATA* pList, DV_DSDLLDATA* pData, CWnd* pParent = NULL);
VARDEFDATA* GetVarSelection() { return m_pSelectedVarData; }
void SelectItem(int nItem);
// Dialog Data
//{{AFX_DATA(CVarSelectDlg)
enum { IDD = IDD_DIALOG1 };
CGenericListCtrl m_VarList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVarSelectDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
static BOOL m_FirstTime;
DV_DSDLLDATA* m_pData;
VARDEFDATA* m_pSelectedVarData;
VARDEFDATA* m_pVarDefList;
private :
CBitmapButton m_StdBrowser;
// Generated message map functions
//{{AFX_MSG(CVarSelectDlg)
virtual BOOL OnInitDialog();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnStdBrowser();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};